package com.linetime.wechat.constants;

/**
 * @author sangaizhi
 * @date 2018/9/21
 */
public class WechatAPI {

    public static final String ACCESS_TOKEN = "ACCESS_TOKEN";

    /**
     * 获取Access Token 的 API <br/>
     * 请求方式：GET <br/>
     * <a href=' https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140183'>说明文档</a>
     */
    public static final String ACCESS_TOKEN_GET_API = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APP_ID&secret=APP_SECRET";
    /**
     * 小程序登录凭证校验请求URL
     */
    public static final String VERIFY_MINI_PROGRAM_LOGIN_CODE_API = "https://api.weixin.qq.com/sns/jscode2session?appid=APP_ID&secret=APP_SECRET&js_code=JSCODE&grant_type=authorization_code";


}